package com.hmall.api.client;

import com.hmall.api.config.DefaultFeignConfig;
import com.hmall.common.domain.dto.OrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "trade-service",configuration = DefaultFeignConfig.class)
public interface OrderService {
    @PostMapping("/update")
    public void updateById(@RequestBody OrderDTO OrderDTO);
}
